<eq name="readonly" value="true">
	<div class="link_select form-inline" data='{$data|json_encode}' pid="{$config|default=0}" val="{$val|implode=','}">
		<div class="input-inline x-select" style="width:100px;">
			<select disabled="disabled" class="main input" id="udf_field_{$id}" name="udf_field_{$id}[]" <notempty name="validate">check="{$validate}" info="{$msg}"</notempty>></select>
		</div>
		<div class="input-inline x-select"  style="width:100px;">
			<select disabled="disabled" class="sub input" id="udf_field_{$id}sub" name="udf_field_{$id}[]" <notempty name="validate">check="{$validate}" info="{$msg}"</notempty>></select>
		</div>
	</div>
	<else/>
	<div class="link_select layui-inline" data='{$data|json_encode}' pid="{$config|default=0}" val="{$val|implode=','}">
		<div class="input-inline x-select" style="width:100px;">
			<select class="main input" id="udf_field_{$id}" name="udf_field_{$id}[]" <notempty name="validate">check="{$validate}" info="{$msg}"</notempty>></select>
		</div>
		<div class="input-inline x-select"  style="width:100px;">
			<select class="sub input" id="udf_field_{$id}sub" name="udf_field_{$id}[]" <notempty name="validate">check="{$validate}" info="{$msg}"</notempty>></select>
		</div>
	</div>
</eq>
